<include file="public@header" />
</head>
<body>
<div class="order-info">

    <!------------------- [ 基本信息 ] --------------------->
    <div class="panel form-horizontal panel-block" data-title="详细信息">
        <div class="panel-heading">
            <div class="panel-actions">
            </div>
            <span class="panel-title">运单 - {$waybill.waybill_no} - {$waybill.status|dict_convert="waybill_status",###}</span>
        </div>
        <div class="panel-body no-padding check-container">
            <div class="row m-tb-20">
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>联系人</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.contact_name}</p>
                    </div>
                </div>
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>联系电话</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.contact_mobile}</p>
                    </div>
                </div>
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>起点</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.place_of_start|dict_convert="station",###}</p>
                    </div>
                </div>
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>终点</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.place_of_end|dict_convert="station",###}</p>
                    </div>
                </div>
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>运程</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.haul}</p>
                    </div>
                </div>
                <div class="form-group col-xs-6">
                    <label class="col-xs-6 control-label"><span class="form-required"></span>备注</label>
                    <div class="col-xs-6">
                        <p class="form-control-static">{$waybill.assignment.remark}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="panel form-horizontal panel-block" data-title="详细信息">
        <div class="panel-heading">
            <div class="panel-actions">
            </div>
            <span class="panel-title">箱单</span>
        </div>
        <div class="panel-body no-padding check-container">
            <table class="table table-fixed tablesorter table-hover table-striped block-product tablesorter-default hasSaveSort">
                <thead>
                <tr>
                    <th width="50">箱型</th>
                    <th width="110">箱号</th>
                    <th width="80">状态</th>
                    <th width="120">操作</th>
                </tr>
                </thead>
                <tbody>
                <foreach name="waybill.containers" item="vo" key="ko">
                    <tr>
                        <td>{$vo.container_type}</td>
                        <td>{$vo.container_no}</td>
                        <td>{$vo.status|dict_convert="waybill_status",###}</td>
                        <td>
                            <a href="{:url('order/containerInterchangeReceipt', ['container_id' => $vo.id])}">设备交接单</a>
                        </td>
                    </tr>
                </foreach>
                </tbody>
            </table>
        </div>
    </div>
</div>
<script src="__STATIC__/js/admin.js"></script>
<style>
    .control-label { text-align: right; }
    .col-xs-6 { padding-left: 5px; padding-right: 5px; }
    .form-group {
        margin-bottom: 0;
    }
</style>
</body>
</html>